import {HttpClientModule} from '@angular/common/http';
import {NgModule} from '@angular/core';

import {CommonModule, registerLocaleData} from '@angular/common';
import zh from '@angular/common/locales/zh';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {BrowserModule} from '@angular/platform-browser';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {AuthRoutingModule} from './auth-routing.module';
import {LayoutPassportComponent} from './login/passport/passport.component';
import {LoginComponent} from './login/login.component';

registerLocaleData(zh);

@NgModule({
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    ReactiveFormsModule,
    HttpClientModule,
    NgZorroAntdModule,
    CommonModule,
    FormsModule,
    AuthRoutingModule
  ],
  declarations: [
    LayoutPassportComponent,
    LoginComponent,
  ]
})
export class AuthModule {
}
